<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/11/26
 * Time: 12:43
 */
return [
    'per_page'   => 20,

    'upload_dir' => 'upload',
    // 设置上传图片的最大尺寸
    'image_max_size' => 2097152,
    // 允许上传的图片类型
    'allow_image_type' => array('jpg', 'png', 'gif', 'jpeg', 'bmp'),
    // 允许上传的flash类型
    'allow_flash_type' => array('flv', 'swf'),
    // 设置上传附件的最大尺寸2M
    'attachment_max_size' => 2097152,
    // 允许上传的附件类型
    'allow_type' => array('jpg', 'png', 'gif', 'jpeg', 'bmp', 'flv', 'swf', 'rar', 'zip', 'msoffice', 'xls', 'xlsx', 'doc', 'docx', 'txt', 'psd', 'mp3'),

    'select_app_list' => array(
        '1' => array(
            'title' => '内容库',
            'child' => array()
        ),
        '2' => array(
            'title' => '营销策略',
            'child' => array(
                '1' => '大转盘',
                '2' => '刮刮卡'
            )
        )
    ),

    'select_query' => array(
        '1' => '最新',
        '2' => '指定'
    ),

    'res_thumb' => array(
        'photo' => array(
            'mode'   =>'max',
            'small'  => array(100, 100),
            'big'    => array(640, 0)
        ),
        'focus' => array(
            'category'=>array(
                100 => array(
                    'small'  => array(150, 60),
                    'big'    => array(750, 294)
                )
            )
        ),
        'user' => array(
            'tiny'   => array(30, 30),
            'small'  => array(50, 50),
            'middle' => array(120, 120),
            'big'    => array(180, 180)
        ),
        'open_card' => array(
            'small'  => array(100, 100),
            'big'    => array(200, 200)
        ),
        'article' => array(
            'small'  => array(180, 100),
            'big'    => array(360, 200)
        ),
        'columns' => array(
            'category'=>array(
                4 => array(
                    'small'  => array(101.5, 49),
                    'big'    => array(203, 98)
                ),
                5 => array(
                    'small'  => array(60, 60),
                    'big'    => array(130, 130)
                )
            )
        ),
        'news' => array(
            'small'  => array(180, 100),
            'big'    => array(360, 200)
        ),
        'index_bg' => array(
            'small'  => array(640, 294),
            'big'    => array(640, 1136)
        ),
        'lottery' =>  array(
            'big'    => array(360, 200),
            'small'  => array(72,  40)
        ),
        'appmsg' => array(
            'category'=>array(
                1 => array(
                    'big'    => array(720, 400),
                ),
                2 => array(
                    'big'    => array(300, 300),
                ),
                3 => array(
                    'small'       => array(288, 160),
                    'small_equal' => array(100, 100)
                )
            )
        )
    ),
];